<!DOCTYPE html>
<html>
<head>
<#include "/common/freemarker/include_css.ftl">
 
<title>活动奖品配置</title>
</head>
 

<body>
<select name="selectOut" id="selectOut" multiple>
<option value="zs">张三</option>
<option value="ls">李四</option>
<option value="admin">管理员</option>
</select>

<input type="button" value="确 定" onclick="doSelect();">


<#include "/common/freemarker/include_js.ftl">

<script>
	function doSelect(){
		 var ctrlId=art.dialog.data('ctrlId');
         var documentObj = art.dialog.data('parentWindow').document;
         documentObj.getElementById(ctrlId).value=document.getElementById("selectOut").value;
         art.dialog.close();
    }        
</script>
</body>
</html>